package com.secsbrain.development.dal.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 发布审批表
 *
 */
@TableName(value = "deploy_approval")
public class DeployApproval implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 应用环境 */
	private String env;

	/** 应用ID */
	@TableField(value = "app_id")
	private Long appId;

	/** 分支 */
	private String branch;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;

	/** 发布分组名称 */
	@TableField(value = "group_name")
	private String groupName;
	
	/** 发布分组ID */
	@TableField(value = "group_id")
	private Long groupId;

	/** 创建人 */
	@TableField(value = "create_name")
	private String createName;
	
	/** 创建人ID */
	@TableField(value = "create_id")
	private Long createId;

	/** 流程实例ID */
	@TableField(value = "process_instance_id")
	private String processInstanceId;

	/** 状态，0-未审批，1-同意，2-驳回 */
	private Integer status;

	/** 备注 */
	private String comment;
	
	@TableField(exist = false)
	private String appName;//应用名称

	@TableField(exist = false)
	private String createTimeStr;//创建时间
	
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getEnv() {
		return this.env;
	}

	public void setEnv(String env) {
		this.env = env;
	}

	public Long getAppId() {
		return this.appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public String getBranch() {
		return this.branch;
	}

	public void setBranch(String branch) {
		this.branch = branch;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getGroupName() {
		return this.groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getCreateName() {
		return this.createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public String getProcessInstanceId() {
		return this.processInstanceId;
	}

	public void setProcessInstanceId(String processInstanceId) {
		this.processInstanceId = processInstanceId;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public Long getGroupId() {
		return groupId;
	}

	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	public Long getCreateId() {
		return createId;
	}

	public void setCreateId(Long createId) {
		this.createId = createId;
	}

	public String getCreateTimeStr() {
		return createTimeStr;
	}

	public void setCreateTimeStr(String createTimeStr) {
		this.createTimeStr = createTimeStr;
	}
	
}
